#ifndef CALCULATOR_H
#define CALCULATOR_H

#include "CalculatorUI.h"
#include "CalculatorDec.h"

class Calculator
{
protected:
    CalculatorUI* m_ui;
    CalculatorDec m_cal;

    Calculator();
    bool construct();

public:
    static Calculator* NewInstance();
    void show();
    ~Calculator();
};

#endif // CALCULATOR_H
